package com.legal.aid.common.core.domain.entity;

import com.legal.aid.common.annotation.Excel;
import com.legal.aid.common.core.domain.BaseEntity;

/**
 * 用户对象 z_user
 * 
 * @author ruoyi
 * @date 2025-05-27
 */
public class CommonUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long id;

    /** 用户名 */
    @Excel(name = "用户名")
    private String userName;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    /** openId */
    @Excel(name = "openId")
    private String openId;
    /** unionId */
    @Excel(name = "unionId")
    private String unionId;



    /** 密码 */
    private String myPassword;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String contactAddress;

    /** 是否律师(0否1是) */
    @Excel(name = "是否律师(0否1是)")
    private String isLawyer;

    /** 是否删除(0否1是) */
    private String isDeleted;

    /** 审核状态 (0未通过 1通过 2审核中) */
    @Excel(name = "审核状态 (0未通过 1通过 2审核中)")
    private String userStatus;

    /** 创建人 */
    private String createdBy;

    /** 修改人 */
    private String updatedBy;



    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setRealName(String realName)
    {
        this.realName = realName;
    }

    public String getRealName()
    {
        return realName;
    }

    public void setMyPassword(String myPassword) 
    {
        this.myPassword = myPassword;
    }

    public String getMyPassword() 
    {
        return myPassword;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setContactAddress(String contactAddress) 
    {
        this.contactAddress = contactAddress;
    }

    public String getContactAddress() 
    {
        return contactAddress;
    }

    public void setIsLawyer(String isLawyer) 
    {
        this.isLawyer = isLawyer;
    }

    public String getIsLawyer() 
    {
        return isLawyer;
    }

    public void setIsDeleted(String isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public String getIsDeleted() 
    {
        return isDeleted;
    }

    public void setUserStatus(String userStatus) 
    {
        this.userStatus = userStatus;
    }

    public String getUserStatus() 
    {
        return userStatus;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }

    @Override
    public String toString() {
        return "CommonUser{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", realName='" + realName + '\'' +
                ", openId='" + openId + '\'' +
                ", unionId='" + unionId + '\'' +
                ", myPassword='" + myPassword + '\'' +
                ", gender='" + gender + '\'' +
                ", avatar='" + avatar + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", contactAddress='" + contactAddress + '\'' +
                ", isLawyer='" + isLawyer + '\'' +
                ", isDeleted='" + isDeleted + '\'' +
                ", userStatus='" + userStatus + '\'' +
                ", createdBy='" + createdBy + '\'' +
                ", updatedBy='" + updatedBy + '\'' +
                '}';
    }
}
